package ele_handler

func init() {
	registerInitFunc(
		func() YuqueElementHandler {
			h := &blockquoteStruct{}
			h.elements = []string{"blockquote"}
			return h
		})
}

type blockquoteStruct struct {
	BaseHandler
}

func (b *blockquoteStruct) preHandle() error {
	b.ctxMap["blockquote"] = true
	return nil
}

func (b *blockquoteStruct) postHandle() error {
	delete(b.ctxMap, "blockquote")
	return nil
}
